Pipeline templates - ability to specify the directory when cloning #190
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In some situations the git repository has a different name than what is used as the application for the build phase ( see
-a
for the templates, or--application
in zAppBuild). Be aware, that subsequent steps of the templates leverage the application parameter to locate the git repository of the application that is processed in the pipeline.In the case when the project/repository name differs to the application name, leverage the new option on the
gitClone.sh
script to specify the directory during the clone operation.The parameter is then used as the directory when cloning: https://git-scm.com/docs/git-clone#Documentation/git-clone.txt-ltdirectorygt